package com.example.zsr.downloadcontinue.entity;

/**
 * Created by zhengshaorui on 2017/3/2.
 */

public class TaskInfo {

    private String url;
    private FileInfo fileInfo;

    public TaskInfo(String url, FileInfo fileInfo) {
        this.url = url;
        this.fileInfo = fileInfo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public FileInfo getFileInfo() {
        return fileInfo;
    }

    public void setFileInfo(FileInfo fileInfo) {
        this.fileInfo = fileInfo;
    }

    @Override
    public String toString() {
        return "TaskInfo{" +
                "url='" + url + '\'' +
                ", fileInfo=" + fileInfo +
                '}';
    }
}
